﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D1B RID: 3355
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PlayerLoginScRsp : IMessage<PlayerLoginScRsp>, IMessage, IEquatable<PlayerLoginScRsp>, IDeepCloneable<PlayerLoginScRsp>, IBufferMessage
	{
		// Token: 0x17002A73 RID: 10867
		// (get) Token: 0x06009659 RID: 38489 RVA: 0x00190F0D File Offset: 0x0018F10D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PlayerLoginScRsp> Parser
		{
			get
			{
				return PlayerLoginScRsp._parser;
			}
		}

		// Token: 0x17002A74 RID: 10868
		// (get) Token: 0x0600965A RID: 38490 RVA: 0x00190F14 File Offset: 0x0018F114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PlayerLoginScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002A75 RID: 10869
		// (get) Token: 0x0600965B RID: 38491 RVA: 0x00190F26 File Offset: 0x0018F126
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PlayerLoginScRsp.Descriptor;
			}
		}

		// Token: 0x0600965C RID: 38492 RVA: 0x00190F2D File Offset: 0x0018F12D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerLoginScRsp()
		{
		}

		// Token: 0x0600965D RID: 38493 RVA: 0x00190F4C File Offset: 0x0018F14C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerLoginScRsp(PlayerLoginScRsp other) : this()
		{
			this.basicInfo_ = ((other.basicInfo_ != null) ? other.basicInfo_.Clone() : null);
			this.serverTimestampMs_ = other.serverTimestampMs_;
			this.retcode_ = other.retcode_;
			this.kHMGODEJBIH_ = other.kHMGODEJBIH_;
			this.stamina_ = other.stamina_;
			this.cCILGMGJOBA_ = other.cCILGMGJOBA_;
			this.curTimezone_ = other.curTimezone_;
			this.dAPCAKALMJB_ = other.dAPCAKALMJB_;
			this.cILIBNPPFMK_ = other.cILIBNPPFMK_;
			this.loginRandom_ = other.loginRandom_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600965E RID: 38494 RVA: 0x00190FF8 File Offset: 0x0018F1F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerLoginScRsp Clone()
		{
			return new PlayerLoginScRsp(this);
		}

		// Token: 0x17002A76 RID: 10870
		// (get) Token: 0x0600965F RID: 38495 RVA: 0x00191000 File Offset: 0x0018F200
		// (set) Token: 0x06009660 RID: 38496 RVA: 0x00191008 File Offset: 0x0018F208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerBasicInfo BasicInfo
		{
			get
			{
				return this.basicInfo_;
			}
			set
			{
				this.basicInfo_ = value;
			}
		}

		// Token: 0x17002A77 RID: 10871
		// (get) Token: 0x06009661 RID: 38497 RVA: 0x00191011 File Offset: 0x0018F211
		// (set) Token: 0x06009662 RID: 38498 RVA: 0x00191019 File Offset: 0x0018F219
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ServerTimestampMs
		{
			get
			{
				return this.serverTimestampMs_;
			}
			set
			{
				this.serverTimestampMs_ = value;
			}
		}

		// Token: 0x17002A78 RID: 10872
		// (get) Token: 0x06009663 RID: 38499 RVA: 0x00191022 File Offset: 0x0018F222
		// (set) Token: 0x06009664 RID: 38500 RVA: 0x0019102A File Offset: 0x0018F22A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002A79 RID: 10873
		// (get) Token: 0x06009665 RID: 38501 RVA: 0x00191033 File Offset: 0x0018F233
		// (set) Token: 0x06009666 RID: 38502 RVA: 0x0019103B File Offset: 0x0018F23B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KHMGODEJBIH
		{
			get
			{
				return this.kHMGODEJBIH_;
			}
			set
			{
				this.kHMGODEJBIH_ = value;
			}
		}

		// Token: 0x17002A7A RID: 10874
		// (get) Token: 0x06009667 RID: 38503 RVA: 0x00191044 File Offset: 0x0018F244
		// (set) Token: 0x06009668 RID: 38504 RVA: 0x0019104C File Offset: 0x0018F24C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Stamina
		{
			get
			{
				return this.stamina_;
			}
			set
			{
				this.stamina_ = value;
			}
		}

		// Token: 0x17002A7B RID: 10875
		// (get) Token: 0x06009669 RID: 38505 RVA: 0x00191055 File Offset: 0x0018F255
		// (set) Token: 0x0600966A RID: 38506 RVA: 0x0019105D File Offset: 0x0018F25D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string CCILGMGJOBA
		{
			get
			{
				return this.cCILGMGJOBA_;
			}
			set
			{
				this.cCILGMGJOBA_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17002A7C RID: 10876
		// (get) Token: 0x0600966B RID: 38507 RVA: 0x00191070 File Offset: 0x0018F270
		// (set) Token: 0x0600966C RID: 38508 RVA: 0x00191078 File Offset: 0x0018F278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CurTimezone
		{
			get
			{
				return this.curTimezone_;
			}
			set
			{
				this.curTimezone_ = value;
			}
		}

		// Token: 0x17002A7D RID: 10877
		// (get) Token: 0x0600966D RID: 38509 RVA: 0x00191081 File Offset: 0x0018F281
		// (set) Token: 0x0600966E RID: 38510 RVA: 0x00191089 File Offset: 0x0018F289
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool DAPCAKALMJB
		{
			get
			{
				return this.dAPCAKALMJB_;
			}
			set
			{
				this.dAPCAKALMJB_ = value;
			}
		}

		// Token: 0x17002A7E RID: 10878
		// (get) Token: 0x0600966F RID: 38511 RVA: 0x00191092 File Offset: 0x0018F292
		// (set) Token: 0x06009670 RID: 38512 RVA: 0x0019109A File Offset: 0x0018F29A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string CILIBNPPFMK
		{
			get
			{
				return this.cILIBNPPFMK_;
			}
			set
			{
				this.cILIBNPPFMK_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17002A7F RID: 10879
		// (get) Token: 0x06009671 RID: 38513 RVA: 0x001910AD File Offset: 0x0018F2AD
		// (set) Token: 0x06009672 RID: 38514 RVA: 0x001910B5 File Offset: 0x0018F2B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong LoginRandom
		{
			get
			{
				return this.loginRandom_;
			}
			set
			{
				this.loginRandom_ = value;
			}
		}

		// Token: 0x06009673 RID: 38515 RVA: 0x001910BE File Offset: 0x0018F2BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PlayerLoginScRsp);
		}

		// Token: 0x06009674 RID: 38516 RVA: 0x001910CC File Offset: 0x0018F2CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PlayerLoginScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.BasicInfo, other.BasicInfo) && this.ServerTimestampMs == other.ServerTimestampMs && this.Retcode == other.Retcode && this.KHMGODEJBIH == other.KHMGODEJBIH && this.Stamina == other.Stamina && !(this.CCILGMGJOBA != other.CCILGMGJOBA) && this.CurTimezone == other.CurTimezone && this.DAPCAKALMJB == other.DAPCAKALMJB && !(this.CILIBNPPFMK != other.CILIBNPPFMK) && this.LoginRandom == other.LoginRandom && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009675 RID: 38517 RVA: 0x001911A4 File Offset: 0x0018F3A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.basicInfo_ != null)
			{
				num ^= this.BasicInfo.GetHashCode();
			}
			if (this.ServerTimestampMs != 0UL)
			{
				num ^= this.ServerTimestampMs.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.KHMGODEJBIH)
			{
				num ^= this.KHMGODEJBIH.GetHashCode();
			}
			if (this.Stamina != 0U)
			{
				num ^= this.Stamina.GetHashCode();
			}
			if (this.CCILGMGJOBA.Length != 0)
			{
				num ^= this.CCILGMGJOBA.GetHashCode();
			}
			if (this.CurTimezone != 0)
			{
				num ^= this.CurTimezone.GetHashCode();
			}
			if (this.DAPCAKALMJB)
			{
				num ^= this.DAPCAKALMJB.GetHashCode();
			}
			if (this.CILIBNPPFMK.Length != 0)
			{
				num ^= this.CILIBNPPFMK.GetHashCode();
			}
			if (this.LoginRandom != 0UL)
			{
				num ^= this.LoginRandom.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009676 RID: 38518 RVA: 0x001912C6 File Offset: 0x0018F4C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009677 RID: 38519 RVA: 0x001912CE File Offset: 0x0018F4CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009678 RID: 38520 RVA: 0x001912D8 File Offset: 0x0018F4D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CILIBNPPFMK.Length != 0)
			{
				output.WriteRawTag(10);
				output.WriteString(this.CILIBNPPFMK);
			}
			if (this.KHMGODEJBIH)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.KHMGODEJBIH);
			}
			if (this.LoginRandom != 0UL)
			{
				output.WriteRawTag(24);
				output.WriteUInt64(this.LoginRandom);
			}
			if (this.CCILGMGJOBA.Length != 0)
			{
				output.WriteRawTag(34);
				output.WriteString(this.CCILGMGJOBA);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.ServerTimestampMs != 0UL)
			{
				output.WriteRawTag(64);
				output.WriteUInt64(this.ServerTimestampMs);
			}
			if (this.basicInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.BasicInfo);
			}
			if (this.Stamina != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Stamina);
			}
			if (this.CurTimezone != 0)
			{
				output.WriteRawTag(96);
				output.WriteSInt32(this.CurTimezone);
			}
			if (this.DAPCAKALMJB)
			{
				output.WriteRawTag(120);
				output.WriteBool(this.DAPCAKALMJB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009679 RID: 38521 RVA: 0x0019141C File Offset: 0x0018F61C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.basicInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BasicInfo);
			}
			if (this.ServerTimestampMs != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ServerTimestampMs);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.KHMGODEJBIH)
			{
				num += 2;
			}
			if (this.Stamina != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Stamina);
			}
			if (this.CCILGMGJOBA.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.CCILGMGJOBA);
			}
			if (this.CurTimezone != 0)
			{
				num += 1 + CodedOutputStream.ComputeSInt32Size(this.CurTimezone);
			}
			if (this.DAPCAKALMJB)
			{
				num += 2;
			}
			if (this.CILIBNPPFMK.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.CILIBNPPFMK);
			}
			if (this.LoginRandom != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.LoginRandom);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600967A RID: 38522 RVA: 0x00191524 File Offset: 0x0018F724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PlayerLoginScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.basicInfo_ != null)
			{
				if (this.basicInfo_ == null)
				{
					this.BasicInfo = new PlayerBasicInfo();
				}
				this.BasicInfo.MergeFrom(other.BasicInfo);
			}
			if (other.ServerTimestampMs != 0UL)
			{
				this.ServerTimestampMs = other.ServerTimestampMs;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.KHMGODEJBIH)
			{
				this.KHMGODEJBIH = other.KHMGODEJBIH;
			}
			if (other.Stamina != 0U)
			{
				this.Stamina = other.Stamina;
			}
			if (other.CCILGMGJOBA.Length != 0)
			{
				this.CCILGMGJOBA = other.CCILGMGJOBA;
			}
			if (other.CurTimezone != 0)
			{
				this.CurTimezone = other.CurTimezone;
			}
			if (other.DAPCAKALMJB)
			{
				this.DAPCAKALMJB = other.DAPCAKALMJB;
			}
			if (other.CILIBNPPFMK.Length != 0)
			{
				this.CILIBNPPFMK = other.CILIBNPPFMK;
			}
			if (other.LoginRandom != 0UL)
			{
				this.LoginRandom = other.LoginRandom;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600967B RID: 38523 RVA: 0x00191636 File Offset: 0x0018F836
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600967C RID: 38524 RVA: 0x00191640 File Offset: 0x0018F840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num <= 16U)
					{
						if (num == 10U)
						{
							this.CILIBNPPFMK = input.ReadString();
							continue;
						}
						if (num == 16U)
						{
							this.KHMGODEJBIH = input.ReadBool();
							continue;
						}
					}
					else
					{
						if (num == 24U)
						{
							this.LoginRandom = input.ReadUInt64();
							continue;
						}
						if (num == 34U)
						{
							this.CCILGMGJOBA = input.ReadString();
							continue;
						}
						if (num == 56U)
						{
							this.Retcode = input.ReadUInt32();
							continue;
						}
					}
				}
				else if (num <= 74U)
				{
					if (num == 64U)
					{
						this.ServerTimestampMs = input.ReadUInt64();
						continue;
					}
					if (num == 74U)
					{
						if (this.basicInfo_ == null)
						{
							this.BasicInfo = new PlayerBasicInfo();
						}
						input.ReadMessage(this.BasicInfo);
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.Stamina = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						this.CurTimezone = input.ReadSInt32();
						continue;
					}
					if (num == 120U)
					{
						this.DAPCAKALMJB = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040039A9 RID: 14761
		private static readonly MessageParser<PlayerLoginScRsp> _parser = new MessageParser<PlayerLoginScRsp>(() => new PlayerLoginScRsp());

		// Token: 0x040039AA RID: 14762
		private UnknownFieldSet _unknownFields;

		// Token: 0x040039AB RID: 14763
		public const int BasicInfoFieldNumber = 9;

		// Token: 0x040039AC RID: 14764
		private PlayerBasicInfo basicInfo_;

		// Token: 0x040039AD RID: 14765
		public const int ServerTimestampMsFieldNumber = 8;

		// Token: 0x040039AE RID: 14766
		private ulong serverTimestampMs_;

		// Token: 0x040039AF RID: 14767
		public const int RetcodeFieldNumber = 7;

		// Token: 0x040039B0 RID: 14768
		private uint retcode_;

		// Token: 0x040039B1 RID: 14769
		public const int KHMGODEJBIHFieldNumber = 2;

		// Token: 0x040039B2 RID: 14770
		private bool kHMGODEJBIH_;

		// Token: 0x040039B3 RID: 14771
		public const int StaminaFieldNumber = 11;

		// Token: 0x040039B4 RID: 14772
		private uint stamina_;

		// Token: 0x040039B5 RID: 14773
		public const int CCILGMGJOBAFieldNumber = 4;

		// Token: 0x040039B6 RID: 14774
		private string cCILGMGJOBA_ = "";

		// Token: 0x040039B7 RID: 14775
		public const int CurTimezoneFieldNumber = 12;

		// Token: 0x040039B8 RID: 14776
		private int curTimezone_;

		// Token: 0x040039B9 RID: 14777
		public const int DAPCAKALMJBFieldNumber = 15;

		// Token: 0x040039BA RID: 14778
		private bool dAPCAKALMJB_;

		// Token: 0x040039BB RID: 14779
		public const int CILIBNPPFMKFieldNumber = 1;

		// Token: 0x040039BC RID: 14780
		private string cILIBNPPFMK_ = "";

		// Token: 0x040039BD RID: 14781
		public const int LoginRandomFieldNumber = 3;

		// Token: 0x040039BE RID: 14782
		private ulong loginRandom_;
	}
}
